﻿using System;

namespace XStudio.IService
{
    public interface IBaseService<TEntity> where TEntity : class
    {
        //获取
        TEntity Get(String primaryKey);

        //插入
        object Insert(TEntity model);

        //删除
        int Delete(object primaryKey);

        //更新
        int Update(TEntity model);
    }
}
